/**
 * @description: 内部类
 * @author: rock
 * @create:
 **/
public class Lzj {
    private static String name;
    public static String schoolname;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public static String getSchoolname() {
        return schoolname;
    }

    public static void setSchoolname(String schoolname) {
        Lzj.schoolname = schoolname;
    }



    public static class StufamilyInfo{
        private String mumName;
        private String mumTel;

        public StufamilyInfo(String mumName, String mumTel) {
            this.mumName = mumName;
            this.mumTel = mumTel;

        }

        public String getMumName() {
            return mumName;
        }

        public void setMumName(String mumName) {
            this.mumName = mumName;
        }

        public String getMumTel() {
            return mumTel;
        }

        public void setMumTel(String mumTel) {
            this.mumTel = mumTel;
        }



        public void printInfo(){
            System.out.println("他的妈妈是："+getMumName()+",电话是："+getMumTel()+"。");
        }



    }

    public void sayHello(){
        System.out.println("i am student of " + schoolname);
    }
}
